Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Setting properties at the instance level
You can set field properties for a viewer when you edit the viewer in the AppBuilder. When you do, you edit the properties at the instance level, because you are setting the property only for this particular instance of the field, when it is displayed in this particular viewer.
The AppBuilder provides two ways of setting field (or other widget) attributes. If you double-click on a field, the same property sheet that you always use appears, customized to show the attributes for the widget type (fill-in, editor, button, and so on). When you change attributes here, the AppBuilder saves them to the Repository when you edit a dynamic object. For instance, Figure 3–4 shows the
CustNumfield in thecustomerviewvviewer.Figure 3–4: Property sheet for the CustNum field
![]()
Here you can disable the field and set other properties just as you always could. In this case we have disabled the field by setting the
Enableproperty toFALSEand theRead-Onlyproperty toTRUE. A few of these properties, such asShow-Popup, are new with Progress Dynamics, but otherwise the property sheets are as they always have been.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |